## - - - - - - - - - - - - - - - - - - - -

#CXXFLAGS_STANDARD = -g -Wall -pedantic
#CXXFLAGS_LOCAL = -I. -I/home/brett/src/include
#CXXFLAGS = ${CXXFLAGS_STANDARD} ${CXXFLAGS_LOCAL}
#GLFLAGS = -lglut -lGL -lGLEW -lCgGL
#-I/usr/include/Cg/
#-I/usr/include/ -L/usr/lib -lGL -lglut -lglew
#PNGFLAGS = `freetype-config --cflags` -I/usr/include -L/usr/lib -lpng -lpngwriter -lz -lfreetype
#OPENCVFLAGS = `pkg-config --libs opencv` `pkg-config --cflags opencv`
GTKFLAGS = `pkg-config --libs --cflags gtkmm-2.4`
#LIBGLADEFLAGS = `libglade-config --libs --cflags gnome`
LIBGLADEFLAGS = `pkg-config --libs --cflags libglademm-2.4`
LOCAL = -I./include/
COMEDI = `pkg-config --libs --cflags comedilib`
PTHREADS = -pthread

BINARIES = main

## - - - - - - - - - - - - - - - - - - - -

all: ${BINARIES}

main: main.cpp include/daq.h
	${CXX} ${CXXFLAGS} main.cpp -o ${@} ${GTKFLAGS} ${LIBGLADEFLAGS} ${LOCAL} ${COMEDI} ${PTHREADS}

clean:
	-rm -f ${BINARIES} ${OBJ_FILES}
